LEADTOOLS Medical (Leadtools.Medical.Workstation assembly)

Contains<TService>() Method

Show in webframe






The type of the service to check for.
Checks whether a service of a given type exists in the collection.
Syntax
public bool Contains<TService>()
'Declaration
 
Public Function Contains(Of TService)() As Boolean
'Usage
 
Dim instance As ServiceCollection
Dim value As Boolean
 
value = instance.Contains(Of TService)()

            

            
public: bool Contains<TService>(); 
public:
bool Containsgeneric<typename TService>
(); 

Type Parameters

TService
The type of the service to check for.

Return Value

true if a service object exists with the provided type; otherwise, it is false.
Requirements

Target Platforms

See Also

Reference

ServiceCollection Class
ServiceCollection Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.